﻿
:root {
    --primary-gold: #ffc107;
    --primary-gold-hover: #e0a800;
    --body-bg: #f3f4f6;
    --sidebar-bg: #ffffff;
    --card-bg: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6c757d;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

body {
    background-color: var(--body-bg);
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    /* flex-direction: column; */ /* Changed for sidebar layout */
    color: var(--text-dark);
    overflow-x: hidden;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
}

/* FOOTER */
footer {
    margin-top: auto;
    background-color: var(--bg-body);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 2rem 0;
}

    footer a {
        color: var(--text-muted);
        text-decoration: none;
    }

        footer a:hover {
            color: var(--primary-gold);
        }

/* --- SIDEBAR STYLING --- */
.sidebar {
    width: 280px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1030;
    transition: transform 0.3s ease-in-out;
}

.sidebar-brand {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    border-bottom: 1px solid var(--border-color);
}

    .sidebar-brand span {
        color: var(--primary-gold);
    }

.sidebar-menu {
    padding: 1.5rem 1rem;
    overflow-y: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .nav-link:hover {
        background-color: #fffbeb; /* Very light gold */
        color: #b45309;
    }

    .nav-link.active {
        background-color: var(--primary-gold);
        color: #000;
        font-weight: 700;
        box-shadow: var(--shadow-sm);
    }

    .nav-link i {
        margin-right: 1rem;
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

.main-content {
    margin-left: 0;
    width: 100%;
    padding: 1.25rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 0.9rem;
    }

    .sidebar-toggler {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1040;
        background: var(--primary-gold);
        border: none;
        padding: 0.5rem 0.8rem;
        border-radius: 0.5rem;
    }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

